
#include "sfc/fs.h"
#include "sfc/log.h"

using namespace sfc;

int main(int argc, const char* argv[]) {
  auto path = Str::from_cstr(argv[1]);
  auto file = io::BufReader{fs::File::open(path)};
  auto line = String();
  while (file.read_line(line)) {
    io::println("read: `{}`", line);
    line.clear();
  }

  return 0;
}
